package com.surfacing.rcp.client.util;

public enum StatisticsTempTableHelper {

	Nfs("create.StatistikNfsDatum"),

	Doctor("create.StatistikArztDatum"),

	Anforderung("create.StatistikAnforderungDatum"),

	Dienststelle("create.StatistikDienststelleDatum"),

	Einsatzart("create.StatistikEinsatzartDatum"),

	Naca("create.StatistikNacaDatum"),

	Transportziel("create.StatistikTransportziel");

	private static String qry;

	StatisticsTempTableHelper(String qry) {
		setQry(qry);
	}

	public static String getQry() {
		return qry;
	}

	public static void setQry(String qry) {
		StatisticsTempTableHelper.qry = qry;
	}

	public static StatisticsTempTableHelper getName() {
		if (getQry() != null) {
			for (StatisticsTempTableHelper b : StatisticsTempTableHelper
					.values()) {
				if (getQry().equalsIgnoreCase(
						StatisticsTempTableHelper.getQry())) {
					return b;
				}
			}
		}
		return null;
	}
}
